<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<link rel="stylesheet" type="text/css" href="../../../css/app.css">
		<link rel="stylesheet" type="text/css" href="../../../css/tabBar.css">
		<link rel="stylesheet" type="text/css" href="./applyToExposure.css">
		<title>申请上首页</title>
	</head>

	<body>
		<div class="vue-content" v-cloak>
			<div class="header navigationBar">
				<div class="wrapper">
					<span id="btn-back" class="header-btn left-btn backtrack" @click="close"></span>
					<span class="title">申请上首页</span>
					<!-- <span id="btn-save" v-if="edit == 1" class="right-btn" @click="saveOrEditGoods">保存</span> -->
				</div>
			</div>
			<div class="container top-container">
				<div class="swiper-container shop_add_top">
					<!-- <div v-if="!goodsObj.cover" class="shop_link" @click="addGoodsLink"> -->
						<img v-if="!goodsObj.cover" class="shop_link"  @click="addGoodsLink" src="../../../image/shop/link.png" alt="">
					<!-- </div> -->
					<div v-else class="shop_goods" @click="addGoodsLink">
						<img :src="goodsObj.cover" alt="">
					</div>
					<span v-if="!goodsObj.name">添加商品链接</span>
					<div v-else class=goods_info>
						<span v-html="goodsObj.name"></span>
						<b v-html="'¥'+goodsObj.price"></b>
					</div>

				</div>
				<div class="shop_title">
					商品亮点
				</div>
				<div class="titleTextarea">
					<textarea ref="goodsName" name="" maxlength='50' rows="0" cols="0" v-model="titleContent" class="shop_add_text goodsName" placeholder="请填写分享的商品的心得或描述..."></textarea>
					<span class="restrictNum"> <span v-html="textNum"></span> /50 </span>
				</div>

			<div class="goodsButton1" v-if="goodsList == ''">
				<div class="saveButton" @click="saveOrEditGoods" v-text="goodsObj.status==-1?'重新申请':'立即申请'">
					立即申请
				</div>
				<div class="tips"><img src="../../../image/shop/exclamatory_mark.png" alt="">温馨提示：优质产品及优质店铺，有更大几率通过申请哦～</div>
			</div>
		</div>
		</div>
	</body>

	<script src="../../sea.js" data-main="../../main"></script>
	<script type="text/javascript" src="../../vue.js"></script>
	<script type="text/javascript" src="./applyToExposure.js"></script>

</html>
